<template>
  <div class="chars_box">
    <div class="flex flex-wrap h-[200px] pt-20" style="background-color: #302c2c">
      <div
        v-for="(item2, index2) in ChartData27"
        :key="index2"
        class="Monitoring"
      >
        <div class="Monitoringson" :style="index2 == 0 ? {background: 'linear-gradient(to right, rgba(4, 139, 248, 0.26), transparent)'} : {background: 'linear-gradient(to right, rgba(40, 120, 40, 0.4), transparent)'}">
          <span class="name">{{ item2.name }}</span>
          <span class="time">{{ item2.time }}</span>
        </div>
        <img :src="item2.url" alt="" class="Monimage"/>
      </div>
    </div>
  </div>
</template>
<script setup>
import { ChartData27 } from "@/utils/StaticData.js";
</script>
<style>
.Monitoring {
  width: 225px;
  height: 110px;
  position: relative;
  margin-right: 50px;
  margin-top: 12px;

  .Monitoringson {
    width: 225px;
    height: 35px;
    padding-left: 10px;
    display: flex;
    justify-content: space-between;
    background: linear-gradient(to right, rgba(4, 139, 248, 0.26), transparent);
    .name {
      font-family: Microsoft YaHei;
      font-weight: 400;
      font-size: 14px;
      color: #ffffff;
    }
    .time {
      font-family: Microsoft YaHei;
      font-weight: 400;
      font-size: 10px;
      color: #ffffff;
      position: absolute;
      top: 2px;
      right: 0px;
    }
  }
  .Monimage {
    width: 216px;
    height: 88px;
    position: absolute;
    top: 25px;
    left: 18px;
  }
}
</style>
